// import request from '@/utils/request.js'
import request from '@/utils/mgop'

export function register(data) {
  return request({
    url: '',
    method: 'POST',
    data
  })
}

//获取浙里办用户信息
export function getUserInfo(ticket) {
  return request({
    api: 'mgop.hp.reduce.ticket',
    type: 'GET',
    data: { ticket }
  })
}
//获取我的课程点单
export function getMyCourseOrder() {
  return request({
    api: 'mgop.hp.reduce.usersCourseOrder',
    type: 'GET'
  })
}
//获取我的专家点单
export function getMyExpertOrder() {
  return request({
    api: 'mgop.hp.reduce.usersExpertOrder',
    type: 'GET'
  })
}
//获取我的专家申请
export function getMyExpertApply() {
  return request({
    api: 'mgop.hp.reduce.usersExpertApply',
    type: 'GET'
  })
}
//获取我的基地申请
export function getMyBaseApply() {
  return request({
    api: 'mgop.hp.reduce.usersBaseApply',
    type: 'GET'
  })
}
